<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('商户注销')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-merchantInfo-updateFreeze">
            <div class="form-group">
                <label class="col-sm-3 control-label is-required">商户编号：</label>
                <div class="col-sm-8">
                    <input type="text" name="merno" th:value="${merchantInfo.merno}" class="form-control" readonly/>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label is-required">商户名称：</label>
                <div class="col-sm-8">
                    <input type="text" name="merNameNo" th:value="${merchantInfo.merName}" class="form-control" readonly/>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label is-required">冻结状态：</label>
                <div class="col-sm-8">
                    <select class="form-control" name="settleStatus">
                        <option value="0" th:selected="${merchantInfo.settleStatus=='0'}">解冻</option>
                        <option value="-1" th:selected="${merchantInfo.settleStatus=='-1'}">冻结</option>
                    </select>
                </div>
            </div>

        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var prefix = ctx + "merchantInfo/merchantInfo";
        $("#form-merchantInfo-updateSettle").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/updateFreeze", $('#form-merchantInfo-updateFreeze').serialize());
            }
        }

    </script>
</body>
</html>